package com.rentdvd.client;

import java.rmi.RemoteException;
import com.rentdvd.ws.RentDVDImplProxy;

public class Test {
	public static void main(String[] args) {
		RentDVDImplProxy service = new RentDVDImplProxy();
		String result = null;
		try {
			result = service.getWatchedMoviesAsXML("gokhan@java.com");
		} catch (RemoteException e) {
			e.printStackTrace();
		}
		System.out.println("|" + result + "|");
	}
}
